<template>
  <div class="home">
    <h1>
      <router-link to="/personal">用户中心</router-link>
    </h1>
  </div>
</template>

<script>
export default {
  name: 'Home',
  created() {
    this.$store.dispatch('getClass')
  }
}
</script>

<style lang="scss" scoped>
h1 {
  text-align: center;
}
</style>
